package com.gof.example.command.macro;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/10 10:40.
 * haiming.fei@tongdun.cn
 */
public class Multiplier {

    private double num;

    public Multiplier() {
        this.num = 1;
    }

    public void multiply(double a) {
        num = num * a;
    }

    public double getNum() {
        return num;
    }

    public void setNum(double num) {
        this.num = num;
    }
}
